﻿<cfset login = event.getValue( 'login' ) />
<cfset position = event.getValue( 'position' ) />

<cfoutput>
				<div id="topNavigationWrap">	
	  		    	<ul class="dropdown">
	  		    	
						<li <cfif position eq 'dashboard'>class="current"</cfif> >
	                    	<a href="#event.linkTo( 'dashboard' )#">Dashboard</a>
	                    </li>
						<cfif login.havePreference( 'manage_posts' )>
						<li <cfif position eq 'posts'>class="current"</cfif>>
							<a href="#event.linkTo( 'list.Post' )#">Posts</a>
						</li>
						</cfif>
						<cfif login.havePreference( 'manage_categories' )>
						<li <cfif position eq 'categories'>class="current"</cfif>>
							<a href="#event.linkTo( 'list.Category' )#">Categories</a>
						</li>
						</cfif>
						<cfif login.havePreference( 'manage_users' )>
						<li <cfif position eq 'users'>class="current"</cfif>>
							<a href="#event.linkTo( 'list.User' )#">Users</a>
						</li>
						</cfif>
						<cfif login.havePreference( 'manage_files' )>
						<li <cfif position eq 'files'>class="current"</cfif>>
							<a href="#event.linkTo( 'files' )#">Files</a>
						</li>
						</cfif>
						<cfif login.havePreference( 'manage_settings' )>
						<li <cfif position eq 'settings'>class="current"</cfif>>
							<a href="#event.linkTo( 'edit.Blog' )#">Settings</a>
						</li>
						</cfif>
						
					</ul>
				</div>
</cfoutput>